package com.briup.jz.dao;

import com.briup.jz.bean.BaseUser;
import com.briup.jz.bean.BaseUserExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BaseUserMapper {

    long countByExample(BaseUserExample example);
    //删除
    int deleteByExample(BaseUserExample example);

    int deleteByPrimaryKey(Long id);
    
    //插入
    int insert(BaseUser record);

    int insertSelective(BaseUser record);
    
    //查找
    List<BaseUser> selectByExample(BaseUserExample example);

    BaseUser selectByPrimaryKey(Long id);
    
    //更新
    int updateByExampleSelective(@Param("record") BaseUser record, @Param("example") BaseUserExample example);

    int updateByExample(@Param("record") BaseUser record, @Param("example") BaseUserExample example);

    int updateByPrimaryKeySelective(BaseUser record);

    int updateByPrimaryKey(BaseUser record);
}